<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %> 
<jsp:useBean id="stringUtil" class="com.wlcj.www.util.StringUtil" scope="page" />
<!doctype html>
<html  lang="zh-CN">
<head>
<meta charset="utf-8">
<title>p2p网贷平台排名-p2p投资理财公司排名-p2p贷款平台</title>
<meta name="keywords" content="p2p网贷平台" />
<meta name="description" content="未来网贷提供p2p网贷平台排名、理财公司排名,为您提供最具参考价值的P2P网贷平台数据" />
<link rel="shortcut icon" type="/image/x-icon" href="${basePath }/images/favicon.ico" />
<link rel="stylesheet" href="${basePath }/css/public.css"/>
<link rel="stylesheet" href="${basePath }/css/news.css"/>
<link rel="stylesheet" href="${basePath }/css/index_rightfloat.css" />
<script src="${basePath }/js/jquery-1.8.2.min.js"></script>
<script src="${basePath }/js/headsearch.js"></script>
<script type="text/javascript">
$(function(){
	//网贷专题
	$.ajax({
			type: "post",
			dataType:'html',
			data:{"channel_id":"11","count":"6"},//176
			url: "${basePath}/news/wangdaizhuanti",
			success: function(data){
				 	$("#wangdaizhuanti").html(data);
				}
	 	 });
})
</script>
</head>
<body>

<!--头部开始-->
<div id="page-top">
	<jsp:include page="/include/top.jsp"/>
</div>
<!--banner广告-->
<div class="ad">
<c:forEach items="${guanggaowei}" var="guanggaowei">
<c:if test="${guanggaowei.content_id == 2453 }">
	<a href="${guanggaowei.link}"><img src="${imgHost }${guanggaowei.title_img}" ></a>
</c:if>
</c:forEach>
</div>
<!--头部结束-->

<!--正文begin-->
<div id="section">  
  <!--资讯-->
  <div class="frame">
    <div class="frame-left">
         <div class="weizhi-nav">
	         <a href="${basePath}/index" target="_blank">首页</a> > 
		         <c:forEach items="${chlist}" var="chlist" varStatus="status">
			        <c:choose>
					        <c:when test="${status.count == chlistSize}">
					        ${chlist.channel_name}
					        </c:when>
					        <c:otherwise>
					        	<a href="${basePath}/column/${chlist.channel_path}" >${chlist.channel_name}</a>>
					        </c:otherwise>
			        </c:choose> 	
		         </c:forEach>
         </div>   
         <div class="content">
            <h1>${c.title}</h1>
            <div class="author"><span class="color_yellow">未来财经</span><span>${c.author }</span> <span>${c.sort_date }</span><span class="count" title="回复次数">${c.replys}</span></div>
            <div class="clear"></div>
            <div class="share">            
                <a href="javascript:void();" title="点击查看本文二维码" id="weixinpic"><img src="${basePath }/images/weixin.png" ></a>           
                <a href="http://v.t.sina.com.cn/share/share.php?url=${basePath}/article/${c.content_id}&title=${c.title}&pic=${imgHost }${c.title_img}" target="_blank" title="分享到新浪微博"><img src="${basePath }/images/sina_weibo.png" ></a>
                <a href="http://connect.qq.com/widget/shareqq/index.html?url=${basePath}/article/${c.content_id}&title=${c.title}&site=qqcom&showcount=0&desc=输入评论内容&summary=文章摘要&pics=&style=203&width=19&height=22" target="_blank" title="分享给QQ好友"><img src="${basePath }/images/qq.png" ></a>
                <a href="http://v.t.qq.com/share/share.php?url=${basePath}/article/${c.content_id}&title=${c.title}&site=qqcom&showcount=0&desc=&summary=${c.description}&pics=&style=203&width=19&height=22" target="_blank" title="分享到腾讯微博"><img src="${basePath }/images/qq_weibo.png" ></a>
                <div class="weixinma" id="ewmfloat">  
                   <div class="xiaojiao"></div>
                   <div class="maimg" id="qrcodeCanvas" >  			   
                   </div>
                   <ul><li>扫一扫，用手机看资讯！</li><li>用微信扫描还可以</li><li>分享至好友和朋友圈</li></ul>
                   <div class="closebtn" id="closebtn" title="关闭">&nbsp;</div>
                   
                </div> 
            </div>
            <div class="line"></div>
            <div class="article">
            <img src="${imgHost }${c.title_img}" width="834" height="497">
 				${c.txt}
            </div>
            <div class="share">            
                <a href="javascript:void();" title="点击查看本文二维码" id="weixinpic1"><img src="${basePath }/images/weixin.png" ></a>           
                <a href="http://v.t.sina.com.cn/share/share.php?url=${basePath}/article/${c.content_id}&title=${c.title}&pic=${imgHost }${c.title_img}" target="_blank" title="分享到新浪微博"><img src="${basePath }/images/sina_weibo.png" ></a>
                <a href="http://connect.qq.com/widget/shareqq/index.html?url=${basePath}/article/${c.content_id}&title=${c.title}&site=qqcom&showcount=0&desc=输入评论内容&summary=文章摘要&pics=&style=203&width=19&height=22" target="_blank" title="分享给QQ好友"><img src="${basePath }/images/qq.png" ></a>
                <a href="http://v.t.qq.com/share/share.php?url=${basePath}/article/${c.content_id}&title=${c.title}&site=qqcom&showcount=0&desc=&summary=${c.description}&pics=&style=203&width=19&height=22" target="_blank" title="分享到腾讯微博"><img src="${basePath }/images/qq_weibo.png" ></a>
                <div class="weixinma" id="ewmfloat1">  
                   <div class="xiaojiao"></div>
                   <div class="maimg" id="qrcodeCanvas1" >  			   
                   </div>
                   <ul><li>扫一扫，用手机看资讯！</li><li>用微信扫描还可以</li><li>分享至好友和朋友圈</li></ul>
                   <div class="closebtn" id="closebtn1" title="关闭">&nbsp;</div>
                   
                </div> 
            </div>            
         </div> 
         <div class="xiangguan">
                <h3>相关文章推荐</h3>
                <div class="xiangguan-list">
                    <ul>
                    <c:forEach items="${xiangguanwenzhangList}" var="xiangguanwenzhangList" begin="0" end="3">
                     <li><a href="${basePath}/article/${xiangguanwenzhangList.content_id}" target="_blank">${xiangguanwenzhangList.title }</a></li>
                    </c:forEach>
                      <c:if test="${fn:length(xiangguanwenzhangList)==0}">  <li > 暂时没有相关文章</li></c:if> 
                    </ul>
                    <div class="vertical-line"></div>
                    <ul>
                      <c:forEach items="${xiangguanwenzhangList}" var="xiangguanwenzhangList" begin="4" end="7">
                     <li><a href="${basePath}/article/${xiangguanwenzhangList.content_id}" target="_blank">${xiangguanwenzhangList.title }</a></li>
                    </c:forEach>
                    <c:if test="${fn:length(xiangguanwenzhangList)==0}">  <li > 暂时没有相关文章</li></c:if>
                    </ul>
                </div>
            </div>
            <div class="comment">
              <div class="login-reg">您需要登录后才可以回帖 <a href="javascript:;" target="_blank">登录</a> <span class="font14 color_gray">|</span> <a href="javascript:;" target="_blank">立即注册</a></div>
            </div>   
    </div>
   
    <div class="frame-right">           

      <!--网贷专题-->
      <div class="nav-title1"><a href="#" target="_blank">网贷专题</a><span></span></div>
      <div class="zhuanti-box" id="wangdaizhuanti">
          
      </div> 
      <!--热门文章-->
      <div class="nav-title1"><a href="#" target="_blank">热门文章</a><span></span></div>
      <div class="dongtai-list">
      
      <c:forEach items="${viewsList}" var="viewsList" varStatus="stat">
        <ul>
           <li class="num color_yellow">${stat.count}</li>
           <li><a href="${basePath}/article/${viewsList.content_id}" target="_blank">${viewsList.title}</a></li>   
        </ul>
      </c:forEach> 
      </div>
      
      <div class="news_ad">
      	<c:forEach items="${guanggaowei}" var="guanggaowei">
		<c:if test="${guanggaowei.content_id == 2452 }">
			<a href="${guanggaowei.link}"><img src="${imgHost }${guanggaowei.title_img}" ></a>
		</c:if>
	</c:forEach>
      </div>
    </div>
  </div>

  <div class=" clear"></div>
</div>
<!--尾部开始-->
<jsp:include page="/include/footer.jsp"/>
<!-- 右侧浮动代码开始 -->
<div id="code"></div>
<div id="code_img"></div>
<a id="gotop" href="javascript:void(0)" title="回到顶部"></a>
<!-- 右侧浮动代码结束 -->
</body>
<script src="${basePath }/js/jquery.qrcode.min.js"></script>
<script src="${basePath }/js/index_rightfloat.js"></script>
<script>
    <!--分享到微信-->
	$('#qrcodeCanvas').qrcode({
		  text: window.location.href,//二维码代表的字符串（本页面的URL）
		  width: 90,//二维码宽度
		  height: 90//二维码高度
		  });
	$('#qrcodeCanvas1').qrcode({
		  text: window.location.href,//二维码代表的字符串（本页面的URL）
		  width: 90,//二维码宽度
		  height: 90//二维码高度
		  });
    $('#weixinpic').click(function(){
	   $('#ewmfloat').show();
	   return false;
	   });
	$('#weixinpic1').click(function(){
	   $('#ewmfloat1').show();
	   return false;
	   });   
    $('#closebtn').click(function(){
	   $('#ewmfloat').hide();
	   });
	$('#closebtn1').click(function(){
	   $('#ewmfloat1').hide();
	   });   
    $('body').click(function(){
	   $('#ewmfloat').hide();
	   $('#ewmfloat1').hide();
	   });      
	<!--分享到微信-->				   
</script>
</html>

